{% extends "WebMainSiteBundle:Course:layout.html.twig" %}
{% set title = "修改图片" %}
{% block title %}
    {{ title }}
{% endblock %}

{% block user_main %}
    <div class="row">
        <div class="col-md-3">
            <p class="user_head_pic_preview1">
                <img src="{{ asset(course.picCover) }}"/>
            </p>
            <p class="text-center">
                当前图片
            </p>
        </div>
    </div>
    <form class="form-horizontal" role="form"  method="post">
        <div class="row">
            <div class="col-md-3">
                <input type="hidden" name="pic" class="MyUpload"/>
            </div>
        </div>
        <p class="buttons-margin-horizontal">
            <input type="submit" class="btn btn-theme btn-green" value="上传新图片" />
        </p>
    </form>
{% endblock %}

{% block myJs %}
    {% include "AssetsUploadBundle:MyUpload:inc.html.twig" %}
{% endblock %}